<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="css/base.css" />
<link rel="stylesheet" href="css/info-reg.css" />
    <link rel="stylesheet" type="text/css" href="css/jquery.dialog.css" />
    <link rel="stylesheet" href="css/index.css" />
    <link rel="stylesheet" href="css/info-mgt.css" />
    <link rel="stylesheet" href="css/WdatePicker.css" />
<title>毕业生简历管理系统</title>
    <style>
        h1{
            font-family: 华文行楷;
        }
    </style>
</head>

<body>
<div id="container">
    <div id="hd">
        <div class="hd-wrap ue-clear">
            <div class="top-light"></div>
            <h1>毕业生简历管理系统</h1>
            <div class="login-info ue-clear">
                <div class="welcome ue-clear"><span>欢迎您,</span><a href="candidateRecommend?c_id=${candidate.c_id}" class="user-name">${candidate.name}</a></div>
            </div>
            <div class="toolbar ue-clear">
                <a href="candidateExit" class="quit-btn exit"></a>
            </div>
        </div>
    </div>
    <div id="bd">
        <div class="wrap ue-clear">
            <div class="sidebar">
                <h2 class="sidebar-header"><p>功能导航</p></h2>
                <ul class="nav">
                    <li class="recommend"><div class="nav-header" onclick="candidateSkip1()"><a class="ue-clear"><span>内容推荐</span></a></div></li>
                    <li class="person"><div class="nav-header" onclick="candidateSkip2()"><a class="ue-clear"><span>个人简历管理</span></a></div></li>
                    <li class="search"><div class="nav-header" onclick="candidateSkip3()"><a class="ue-clear"><span>职位搜索</span></a></div></li>
                    <li class="inform"><div class="nav-header" onclick="candidateSkip6()"><a class="ue-clear"><span>我的消息</span></a></div></li>
                    <li class="emailSending"><div class="nav-header" onclick="candidateSkip7()"><a class="ue-clear"><span>邮件发送</span></a></div></li>
                </ul>
            </div>
     <div class="content">
         <div class="title"><h2>公司基本信息</h2></div>
         <div class="main">
             <p class="short-input ue-clear newstyle">
                 <label>公司名称：</label><input  type="text" readonly="readonly" style="border:0;background:transparent;"  value="${employer.name}"/>
             </p>
             <p class="short-input ue-clear newstyle">
                 <label>公司地址：</label><input  type="text" readonly="readonly" style="border:0;background:transparent;"  value="${employer.address}"/>
             </p>
             <p class="short-input ue-clear newstyle">
                 <label>电子邮箱：</label><input  type="text" readonly="readonly" style="border:0;background:transparent;" value="${employer.email}"/>
             </p>
             <p class="short-input ue-clear newstyle">
                 <label>创立时间：</label><input  type="text" readonly="readonly" style="border:0;background:transparent;" value="${employer.etb_time}"/>
             </p>
             <p class="short-input ue-clear newstyle">
                 <label>法定代表人：</label><input  type="text" readonly="readonly" style="border:0;background:transparent;" value="${employer.legal_rep}"/>
             </p>
             <p class="long-input ue-clear newstyle">
                 <label>联系方式：</label><input  type="text" readonly="readonly" style="border:0;background:transparent;" value="${employer.phone_number}">
             </p>
             <p class="short-input ue-clear newstyle">
                 <label>公司简介：</label><textarea  readonly="readonly" style="height:150px;border:0;background:transparent;">${employer.profile}</textarea>
             </p>
         </div>
     </div>
    </div>
  </div>
</div>

</body>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/WdatePicker.js"></script>
<script type="text/javascript" src="js/core.js"></script>
<script type="text/javascript" src="js/jquery.dialog.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<script>
    function candidateSkip1(){ const c_id="${candidate.c_id}"; location.href="candidateRecommend?c_id="+c_id}
    function candidateSkip2(){ const c_id="${candidate.c_id}"; location.href="updateCandidate?c_id="+c_id}
    function candidateSkip3(){ const c_id="${candidate.c_id}"; location.href="findAllPositions?c_id="+c_id}
    function candidateSkip6(){ const c_id="${candidate.c_id}"; location.href="candidateNotice?c_id="+c_id}
    function candidateSkip7(){ location.href="canSendEmail"}

    const  msg="${message}";
    if(msg){
        alert(msg);
    }
</script>
</html>
